<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--  marcamos que es una página de errores -->
<%@ page isErrorPage="true" import="java.io.*"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Pagina de exception error</title>
</head>
<body>


<div id="main-error" class="clearfix">

    <div class="clearfix">
        <div class="col1">
    
            <img src="imagenes/error_imagen.PNG"
                style="max-width: 400px; max-height: 400px">
        </div>
        <div class="col2">
    
            <div id="error_page">
            <h1 STYLE="text-align: center"><B><FONT SIZE=7>ERROR ANOMALO</FONT></B></h1>
                </br></br>    
                <h2 STYLE="text-align: center"><B><FONT SIZE=5>Contacte con su administrador</FONT></B></h2>    
                </br>
                             
            </div>
        </div>
   </div>    
    
    
    <div class="clearfix">
                
                    <p>Exception Message:</p>
                    <p><%=exception.getMessage()%></p>

                    <p>StackTrace:</p>
                    <p>
                        <%
                                StringWriter stringWriter = new StringWriter();
                                PrintWriter printWriter = new PrintWriter(stringWriter);
                                exception.printStackTrace(printWriter);
                                out.println(stringWriter);
                                printWriter.close();
                                stringWriter.close();
                            %>
                    </p>
						<br/>
				<a href="index.jsp" >Volver </a><br/>



    </div>
    
    
</div>
</body>
</html>



